//
//  LSZPartyCollectionViewCell.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/8/15.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZPartyCollectionViewCell.h"

@implementation LSZPartyCollectionViewCell
-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        CGFloat width = (ScreenWidth -4) / 4;
        UIView * viewBack = [[UIView alloc]init];
        viewBack.frame = CGRectMake(0, 0, width, width);
        viewBack.backgroundColor = [UIColor whiteColor];
        [self addSubview:viewBack];
        
        self.imageViewIcon = [[UIImageView alloc]init];
        self.imageViewIcon.frame = CGRectMake(30,15,width-60, width-60);
        [viewBack addSubview:self.imageViewIcon];
        
        self.labelTitle = [[UILabel alloc]init];
        self.labelTitle.frame = CGRectMake(0, width-40, width, 25);
        self.labelTitle.font = FONT_(16);
        self.labelTitle.textAlignment = NSTextAlignmentCenter;
        self.labelTitle.textColor = titleColorLSZ;
        [viewBack addSubview:self.labelTitle];
        
    }
    return self;
}
@end
